<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ALORK 20150428.01" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<title><?php echo $this->_var['page_title']; ?></title>
<link rel="stylesheet" href="./public/my_style.css" />
<?php echo $this->smarty_insert_scripts(array('files'=>'./../utils.js')); ?>
<?php echo $this->smarty_insert_scripts(array('files'=>'./../js/region.js,./../js/user.js,./../js/common.js,./../js/jquery.js,./../js/jquery.json-1.3.js,./../js/transport.js')); ?>
</head>

<body>
<?php echo $this->fetch('library/baidutongji.lbi'); ?>
<div id="book">
<?php echo $this->fetch('library/user_head.lbi'); ?>
  
  <div class="navigation">
    <span><a class="hover"><span class="font">画种分类</span></a><a><span class="font">新书上架</span></a><a><span class="font">系列丛书</span></a></span>
  </div>
  <script type="text/javascript">
  $("#nav").toggle(
  function(){
  $('.navigation').css("opacity","0");},
  function(){
  $('.navigation').css("opacity","1");}
);


  </script>

  
    <div class="bookstore_ad">
      <?php $_from = $this->_var['ad_1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');if (count($_from)):
    foreach ($_from AS $this->_var['ad']):
?>
      <div class="ad"><a href="<?php echo $this->_var['ad']['ad_link']; ?>"><img src="../data/afficheimg/<?php echo $this->_var['ad']['ad_code']; ?>" style="width: 100%; height: 165px;"></a> </div>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </div>
    
  
  <div class="cate_list">
    <div class="bookstore_cate"></div>
    
      <div class="navigation_cate">
        <span><a class="hover">素描</a><a>色彩</a><a>速写</a><a>照片</a></span>
      </div>
    <?php $_from = $this->_var['cate_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'value');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['value']):
?>
    <div class="big_box <?php if ($this->_var['key'] > 0): ?>none<?php endif; ?>">
      <script type="text/javascript">
        $(function(){
          $('.navigation_cate a').click(function(){
            var index = $(this).index();
            $('.cate_list .big_box').hide().eq(index).show();
            $('.navigation_cate a').removeClass('hover').eq(index).addClass('hover');
          });
        });
      </script>
      <?php $_from = $this->_var['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('k', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['k'] => $this->_var['item']):
?>
      <div class="box">
          <a href="<?php echo $this->_var['item']['url']; ?>" target="_blank" style="position: relative; display: inline-block;">
            <img src="../<?php echo $this->_var['item']['goods_thumb']; ?>" alt="<?php echo $this->_var['item']['goods_name']; ?>" width="130" height="130" id="goods_thumb" />
          </a>
          <div class="name">
            <span><a href="<?php echo $this->_var['item']['url']; ?>" target="_blank"><?php echo $this->_var['item']['goods_name']; ?></a></span>
          </div>
          <div class="price">
            <?php if ($this->_var['item']['promote_price']): ?><span class="shop_price">￥<?php echo $this->_var['item']['promote_price']; ?></span><?php elseif ($this->_var['item']['preferential_price5']): ?><span class="shop_price">￥<?php echo $this->_var['item']['preferential_price5']; ?>~￥<?php echo $this->_var['item']['shop_price']; ?></span><?php else: ?><span class="shop_price">￥<?php echo $this->_var['item']['shop_price']; ?></span><?php endif; ?>
          </div>
      </div>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      <a href="category-601-b0.html" style="position: relative; float: left; width: 100%; height: 20px;"><div class="more_books" style="position: absolute; width: 85px; height: 20px; background: url(../mobile/Icon/more_books.png); line-height: 20px; left:50%; margin-left: -42px;"></div></a>
    </div>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </div>
   

  
  <div class="cate_list" style="display: none">
    <div class="bookstore_new"></div>
    <div class="big_new">
      <?php $_from = $this->_var['new_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
      <div class="box">
          <a href="<?php echo $this->_var['item']['url']; ?>" target="_blank" style="position: relative; display: inline-block;">
            <img src="../<?php echo $this->_var['item']['goods_thumb']; ?>" alt="<?php echo $this->_var['item']['goods_name']; ?>" width="130" height="130" id="goods_thumb" />
          </a>
          <div class="name">
            <span><a href="<?php echo $this->_var['item']['url']; ?>" target="_blank"><?php echo $this->_var['item']['goods_name']; ?></a></span>
          </div>
          <div class="price">
            <?php if ($this->_var['item']['promote_price']): ?><span class="shop_price">￥<?php echo $this->_var['item']['promote_price']; ?></span><?php elseif ($this->_var['item']['preferential_price5']): ?><span class="shop_price">￥<?php echo $this->_var['item']['preferential_price5']; ?>~￥<?php echo $this->_var['item']['shop_price']; ?></span><?php else: ?><span class="shop_price">￥<?php echo $this->_var['item']['shop_price']; ?></span><?php endif; ?>
          </div>
      </div>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      <a href="category-601-b0.html" style="position: relative; float: left; width: 100%; height: 20px;"><div class="more_books" style="position: absolute; width: 85px; height: 20px; background: url(../mobile/Icon/more_books.png); line-height: 20px; left:50%; margin-left: -42px;"></div></a>
    </div>
  </div>
   

  
  <div class="cate_list" style="display: none; width: 100%;max-width: 480px;">
    <div class="bookstore_series" style="width: 320px;margin: 0 auto;"></div>
      <div class="bookstore_series2">
        
        <div class="navigation_series">
          <span><a class="hover">尚读图书</a><a>封面文化</a><a>正能文化</a><a>画中话</a><a>一线教学</a></span>
        </div>
      </div>
    <?php $_from = $this->_var['series_goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'value');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['value']):
?>
    <div class="big_series <?php if ($this->_var['key'] > 0): ?>none<?php endif; ?>" style="width: 320px;margin: 0 auto;">
      <script type="text/javascript">
        $(function(){
          $('.navigation_series a').click(function(){
            var index = $(this).index();
            $('.cate_list .big_series').hide().eq(index).show();
            $('.navigation_series a').removeClass('hover').eq(index).addClass('hover');

          });
        });
      </script>
      <?php $_from = $this->_var['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('k', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['k'] => $this->_var['item']):
?>
      <div class="box">
          <a href="<?php echo $this->_var['item']['url']; ?>" target="_blank" style="position: relative; display: inline-block;">
            <img src="../<?php echo $this->_var['item']['goods_thumb']; ?>" alt="<?php echo $this->_var['item']['goods_name']; ?>" width="130" height="130" id="goods_thumb" />
          </a>
          <div class="name">
            <span><a href="<?php echo $this->_var['item']['url']; ?>" target="_blank"><?php echo $this->_var['item']['goods_name']; ?></a></span>
          </div>
          <div class="price">
            <?php if ($this->_var['item']['promote_price']): ?><span class="shop_price">￥<?php echo $this->_var['item']['promote_price']; ?></span><?php elseif ($this->_var['item']['preferential_price5']): ?><span class="shop_price">￥<?php echo $this->_var['item']['preferential_price5']; ?>~￥<?php echo $this->_var['item']['shop_price']; ?></span><?php else: ?><span class="shop_price">￥<?php echo $this->_var['item']['shop_price']; ?></span><?php endif; ?>
          </div>
      </div>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      <a href="category-601-b0.html" style="position: relative; float: left; width: 100%; height: 20px;"><div class="more_books" style="position: absolute; width: 85px; height: 20px; background: url(../mobile/Icon/more_books.png); line-height: 20px; left:50%; margin-left: -42px;"></div></a>
    </div>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </div>
   
  
  <script type="text/javascript">
    $(function(){
      $('.navigation a').click(function(){
        var index = $(this).index();
        $('.cate_list').hide().eq(index).show();
        $('.navigation a').removeClass('hover').eq(index).addClass('hover');

      });
    });
  </script>
</div>
<?php echo $this->fetch('library/page_foot2.lbi'); ?>
</body>
</html>